import os
"""
这里是项目路径的处理
"""

# 项目根路径
BASEDIR = os.path.dirname(os.path.dirname(__file__))

# 日志路径
LOGDIR = os.path.join(BASEDIR, "log").replace("\\", "/")

# 元素配置路径
ELEMENTGDIR = os.path.join(BASEDIR, "element_config").replace("\\", "/")

# 报告路径
REPORTDIR = os.path.join(BASEDIR, "report").replace("\\", "/")

# 配置文件路径
SYSCONFIGDIR = os.path.join(BASEDIR, "config").replace("\\", "/")

# 数据配置文件路径
DATADIR = os.path.join(BASEDIR, "data").replace("\\", "/")


if __name__ == "__main__":
    print(BASEDIR)
    print(LOGDIR)
    # print(ELEMENTGDIR)
    # print(SYSCONFIGDIR)

